/* 软件详情页面样式 */
.software-detail {
    padding: 100px 20px 60px;
    background-color: transparent;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(155, 89, 182, 0.1) 0%, transparent 50%);
    background-size: 100% 100%;
    background-attachment: fixed;
}

.software-main-info {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translateZ(0);
    transition: all 0.3s ease;
}

.info-content {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    height: 100%;
}

.info-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.software-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
}

.meta-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.meta-item-full {
    padding: 12px 16px;
    width: 300px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.meta-item-full::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 615px;
    height: 5px;
    background: linear-gradient(90deg, #3498db, transparent);
}

.meta-grid .meta-item-full:nth-child(1)::after {
    width: 615px;
}

.meta-grid .meta-item-full:nth-child(4)::after {
    width: 615px;
}

.meta-item {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.meta-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(52, 152, 219, 0.2);
}

.meta-item strong {
    color: #3498db;
    margin-right: 8px;
}

.meta-item span {
    color: #e0e0e0;
}

.software-main-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(52, 152, 219, 0.1),
            transparent,
            rgba(155, 89, 182, 0.1),
            transparent);
    animation: shimmer 8s linear infinite;
    z-index: 0;
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.software-main-info>* {
    position: relative;
    z-index: 1;
}

.detail-icon {
    flex-shrink: 0;
    margin-right: 5px;
}

.detail-icon img {
    width: 140px;
    height: 140px;
    border-radius: 25px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(52, 152, 219, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.detail-icon img:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(52, 152, 219, 0.5);
}

.title-with-icon {
    display: flex;
    align-items: flex-start;
    gap: 120px;
}

.title-with-icon .detail-icon {
    margin-right: 30px;
    margin-left: 40px;
    margin-top: 20px;
    margin-bottom: -60px;
}

.title-with-icon .detail-icon img {
    width: 250px;
    height: 250px;
    border-radius: 36px;
}

.info-text h1 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 0px;
    margin-top: 30px;
    margin-left: 50px;
    margin-right: -150px;
    color: #ffffff;
    text-shadow:
        0 0 15px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(52, 152, 219, 0.4);
    transition: all 0.3s ease;
}

.info-text h1:hover {
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(52, 152, 219, 0.6);
}

.category {
    display: inline-block;
    padding: 22px 50px;
    background-color: #3498db;
    color: #ffffff;
    border-radius: 25px;
    font-size: 30px;
    margin-top: -20px;
    margin-bottom: -15px;
    margin-left: 100px;
    font-weight: bold;
    box-shadow:
        0 4px 12px rgba(52, 152, 219, 0.3),
        inset 0 1px 0 rgba(255, 254, 254, 0.1);
    transition: all 0.3s ease;
    max-width: fit-content;
}

.category:hover {
    transform: translateY(-2px);
    box-shadow:
        0 6px 16px rgba(52, 152, 219, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.software-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-left: 20px;
}

.meta-item {
    font-size: 16px;
    color: #b0b0b0;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    width: 300px;
}

.meta-item:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

.meta-item strong {
    color: #ffffff;
    display: block;
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-item span {
    font-size: 25px;
    font-weight: bold;
    color: #3498db;
    text-shadow: 0 0 8px rgba(52, 152, 219, 0.3);
    display: block;
    text-align: center;
}

.detail-content {
    margin-top: 40px;
}

.download-area h3 {
    font-size: 36px;
    margin-bottom: 25px;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(52, 152, 219, 0.3);
}

.meta-item-full strong {
    font-size: 24px;
}

.download-btn-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.download.download-btn-large {
    display: block;
    padding: 16px;
    background: transparent;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    width: 300px;
    transition: all 0.3s ease;
    box-shadow:
        0 6px 18px rgba(52, 152, 219, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.5);
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.8), 0 0 20px rgba(52, 152, 219, 0.5);
}

.download-btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.2), transparent);
    transition: left 0.5s ease;
}

.download-btn-large:hover::before {
    left: 100%;
}

.download-btn-large:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateY(-10px);
    box-shadow:
        0 8px 22px rgba(52, 152, 219, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.download-btn-secondary {
    display: block;
    padding: 16px;
    background: transparent;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    width: 300px;
    transition: all 0.3s ease;
    box-shadow:
        0 6px 18px rgba(52, 152, 219, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.5);
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.8), 0 0 20px rgba(52, 152, 219, 0.5);
}

.download-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.2), transparent);
    transition: left 0.5s ease;
}

.download-btn-secondary:hover::before {
    left: 100%;
}

.download-btn-secondary:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateY(-10px);
    box-shadow:
        0 8px 22px rgba(52, 152, 219, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.download-notice {
    margin-top: 25px;
    padding: 20px;
    background-color: rgba(243, 156, 18, 0.1);
    border-radius: 12px;
    border-left: 4px solid #f39c12;
    box-shadow:
        0 4px 12px rgba(243, 156, 18, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.download-notice p {
    margin-bottom: 10px;
    font-size: 15px;
    color: #f1c40f;
    line-height: 1.5;
    font-weight: 500;
}

.md5-info {
    margin-top: 25px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 15px;
    color: #b0b0b0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.md5-info:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(52, 152, 219, 0.2);
}

.md5-info strong {
    color: #ffffff;
    font-weight: bold;
}

.software-description {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translateZ(0);
    transition: all 0.3s ease;
    margin-bottom: 60px;
    width: 100%;
    box-sizing: border-box;
}

.description-content {
    width: 100%;
    box-sizing: border-box;
}

.description-section {
    width: 100%;
    box-sizing: border-box;
}

.software-description::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(52, 152, 219, 0.1),
            transparent,
            rgba(155, 89, 182, 0.1),
            transparent);
    animation: shimmer 8s linear infinite;
    z-index: 0;
}

.software-description>* {
    position: relative;
    z-index: 1;
}

.description-content {
    width: 100%;
}

.download-area {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 30px 25px 30px;
    border-radius: 16px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform-style: preserve-3d;
    transform: translateZ(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.download-area:hover {
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateZ(15px) translateY(-5px);
}

.software-description:hover {
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.description-section {
    margin-bottom: 50px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.description-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.description-section:hover {
    transform: translateX(5px);
}

.description-section h3 {
    font-size: 45px;
    margin-bottom: 25px;
    color: #3498db;
    text-shadow:
        0 0 12px rgba(52, 152, 219, 0.4),
        0 0 20px rgba(52, 152, 219, 0.2);
    font-weight: bold;
    position: relative;
    padding-left: 20px;
}

.description-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, #3498db, #9b59b6);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.description-section p {
    margin-top: -10px;
    margin-bottom: 20px;
    font-size: 25px;
    line-height: 2.0;
    color: #e0e0e0;
    text-shadow: 0 0 5px rgba(224, 224, 224, 0.1);
    text-indent: 2em;
}

.description-section ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.description-section ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 25px;
    line-height: 1.5;
    color: #e0e0e0;
    text-shadow: 0 0 5px rgba(224, 224, 224, 0.1);
    transition: all 0.3s ease;
    text-indent: 2em;
}

.description-section ul li:hover {
    padding-left: 35px;
    color: #ffffff;
}

.description-section ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(52, 152, 219, 0.5);
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.screenshot-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    transform: translateZ(0);
}

.screenshot-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.screenshot-item:hover {
    transform: translateY(-8px) rotateY(5deg);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.screenshot-item:hover::before {
    opacity: 1;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

/* 相关软件推荐样式 */
.related-software {
    padding: 100px 20px;
    background-color: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-image:
        radial-gradient(circle at 50% 50%, rgba(52, 152, 219, 0.05) 0%, transparent 70%);
}

.related-software h3 {
    font-size: 32px;
    margin-bottom: 50px;
    color: #ffffff;
    text-align: center;
    text-shadow:
        0 0 15px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(52, 152, 219, 0.4);
    font-weight: bold;
    transition: all 0.3s ease;
}

.related-software h3:hover {
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(52, 152, 219, 0.6);
}

.back-home-btn {
    display: block;
    width: 200px;
    margin: 0 auto;
    padding: 15px 30px;
    background: linear-gradient(135deg, #3498db, #9b59b6);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-size: 20px;
    font-weight: bold;
    box-shadow:
        0 5px 20px rgba(52, 152, 219, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.back-home-btn:hover {
    transform: translateY(-5px);
    box-shadow:
        0 10px 30px rgba(52, 152, 219, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.software-installation {
    padding: 60px 20px;
    background-color: transparent;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(155, 89, 182, 0.1) 0%, transparent 50%);
    background-size: 100% 100%;
    background-attachment: fixed;
}

.installation-content {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.installation-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(52, 152, 219, 0.1),
            transparent,
            rgba(155, 89, 182, 0.1),
            transparent);
    animation: shimmer 8s linear infinite;
    z-index: 0;
}

.installation-content>* {
    position: relative;
    z-index: 1;
}

.installation-content h2 {
    font-size: 45px;
    margin-bottom: 30px;
    color: #3498db;
    text-shadow:
        0 0 12px rgba(52, 152, 219, 0.4),
        0 0 20px rgba(52, 152, 219, 0.2);
    font-weight: bold;
    position: relative;
    padding-left: 20px;
}

.installation-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, #3498db, #9b59b6);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.installation-content h3 {
    font-size: 35px;
    margin: 30px 0 15px 0;
    color: #ffffff;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
    text-indent: 1em;
}

.installation-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3498db, transparent);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.installation-content h3.additional-step {
    text-align: center;
}

.software-install-detail {
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.software-install-detail p {
    margin-bottom: 20px;
    font-size: 30px;
    line-height: 1.5;
    color: #e0e0e0;
    text-shadow: 0 0 5px rgba(224, 224, 224, 0.1);
    text-indent: 2em;
    font-weight: bold;
}

.software-install-detail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
    display: block;
}

.green-text {
    color: #2ecc71;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

.red-text {
    color: #e74c3c;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}

#software-install-detail img {
    width: 90%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin: 20px auto 40px auto;
    display: block;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .software-description {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .download-area {
        position: static;
        margin-bottom: 20px;
    }
}

@media (max-width: 992px) {
    .software-main-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .detail-icon {
        margin-right: 0;
        margin-bottom: 18px;
    }

    .software-meta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .software-detail {
        padding: 80px 20px 40px;
    }

    .info-text h1 {
        font-size: 24px;
    }

    .software-meta {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .meta-row {
        grid-template-columns: 1fr;
    }

    .download-area {
        padding: 20px;
    }

    .download-btn-large {
        width: 100%;
    }

    .download-btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .software-detail {
        padding: 60px 15px 30px;
    }

    .info-text h1 {
        font-size: 20px;
    }

    .category {
        font-size: 24px;
        padding: 18px 30px;
    }

    .download-btn-large {
        font-size: 16px;
        padding: 14px;
    }

    .download-btn-secondary {
        font-size: 16px;
        padding: 14px;
    }
}